Package-level declarations

Types

Link copied to clipboard
interface ProfileLoader

Loads StructureDefinition for profile based on canonical URL.

Link copied to clipboard

Maps a QuestionnaireResponse to FHIR resources and vice versa.

Link copied to clipboard
data class StructureMapExtractionContext(val transformSupportServices: StructureMapUtilities.ITransformerServices? = null, val workerContext: IWorkerContext = SimpleWorkerContext(), val structureMapProvider: suspend (String, IWorkerContext) -> StructureMap?)

Data used during StructureMap-based extraction.

Functions

Link copied to clipboard
fun Base.asExpectedType(questionnaireItemType: Questionnaire.QuestionnaireItemType? = null): Type

Returns the Base object as a Type as expected by Questionnaire.QuestionnaireItemAnswerOptionComponent.setValue. Also, Questionnaire.QuestionnaireItemAnswerOptionComponent.setValue only takes a certain Type objects and throws exception otherwise. This extension function takes care of the conversion based on the input and expected Type.